﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RegexLib.Web.Models.Web.Admin;

namespace RegexLib.Web.Controllers
{
	public class AdminHomeController : Controller
	{
		public AdminHomeController()
		{
			if (!RxAdmin.IsAdmin())
				throw new RxAdminException();
		}

		public ActionResult Index()
		{
			return View("AdminHomeIndex");
		}
	}
}
